package aop.spring_aop_aspect;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *
 *
 */
public class App 
{
    public static void main( String[] args )
    {
    /*	ApplicationContext appContext = new ClassPathXmlApplicationContext("/appContext.xml");
    	PersonService personService = appContext.getBean(PersonService.class);
    	String personName = "Jim";
    	personService.addPerson(personName);
    	personService.deletePerson(personName);
    	personService.editPerson(personName);
    	((ClassPathXmlApplicationContext)appContext).close();*/

       /* ApplicationContext applicationContext  = new ClassPathXmlApplicationContext("/appContext.xml");
        Course course = new Course();
        applicationContext.publishEvent(new CourseFullEvent(this,course));
        User user    = (User) applicationContext.getBean("user");
        user.print();*/



    }
}
